{
writer.writeEndDocument();
- // TODO: technically, &apos is almost never required to be encoded, but
- // the pre-Qt version of our serializer did, so we'll manually do it here
- // for now, in the early days, just to keep things as we've always done it.
- ostring.replace("'", "'");
-
// TODO: The old writer would more aggressively protect you from control
// character nonsense. The control-Z (032)is the only thing that appears in
// our test suite, but let's toss things we know aren't allowed in GPX.
</wpt>
<wpt lat="37.522349358" lon="-122.284910083">
<name>NOTE 2</name>
- <cmt>how GPX from GPSBabel shows Topo track desc as of 2012: (line name and line style are NOT related to actual color or width) <trk> <name>red line</name> <desc>Style=red med, Width=3, Dashed=0, Color=#ff0000</desc> <number>1</number> <trkseg> ... (Topo menu colors are stored in the file as web-style hex RGB) Red=#ff0000, Yellow=#ffff00, Green=#008000, Blue=#000080, Purple=#800080, Black=#000000, White=#ffffff (Topo solid line widths: Hairline=1, Thin=2, Medium=3, Thick=4) (Topo dashed line widths: Hairline=1, Thin=2) SRE's tpo.c mod stuffs Style/Width/Dashed/Color fields into "desc" field under the assumption that something will post-process GPX or KML output and move information from desc to private extensions (solid lines have "Dashed=0", can have width of 1=hairline to 4=thick) (dashed lines have "Dashed=1", can only have width of 1=hairline or 2=thin) </cmt>
- <desc>how GPX from GPSBabel shows Topo track desc as of 2012: (line name and line style are NOT related to actual color or width) <trk> <name>red line</name> <desc>Style=red med, Width=3, Dashed=0, Color=#ff0000</desc> <number>1</number> <trkseg> ... (Topo menu colors are stored in the file as web-style hex RGB) Red=#ff0000, Yellow=#ffff00, Green=#008000, Blue=#000080, Purple=#800080, Black=#000000, White=#ffffff (Topo solid line widths: Hairline=1, Thin=2, Medium=3, Thick=4) (Topo dashed line widths: Hairline=1, Thin=2) SRE's tpo.c mod stuffs Style/Width/Dashed/Color fields into "desc" field under the assumption that something will post-process GPX or KML output and move information from desc to private extensions (solid lines have "Dashed=0", can have width of 1=hairline to 4=thick) (dashed lines have "Dashed=1", can only have width of 1=hairline or 2=thin) </desc>
+ <cmt>how GPX from GPSBabel shows Topo track desc as of 2012: (line name and line style are NOT related to actual color or width) <trk> <name>red line</name> <desc>Style=red med, Width=3, Dashed=0, Color=#ff0000</desc> <number>1</number> <trkseg> ... (Topo menu colors are stored in the file as web-style hex RGB) Red=#ff0000, Yellow=#ffff00, Green=#008000, Blue=#000080, Purple=#800080, Black=#000000, White=#ffffff (Topo solid line widths: Hairline=1, Thin=2, Medium=3, Thick=4) (Topo dashed line widths: Hairline=1, Thin=2) SRE's tpo.c mod stuffs Style/Width/Dashed/Color fields into "desc" field under the assumption that something will post-process GPX or KML output and move information from desc to private extensions (solid lines have "Dashed=0", can have width of 1=hairline to 4=thick) (dashed lines have "Dashed=1", can only have width of 1=hairline or 2=thin) </cmt>
+ <desc>how GPX from GPSBabel shows Topo track desc as of 2012: (line name and line style are NOT related to actual color or width) <trk> <name>red line</name> <desc>Style=red med, Width=3, Dashed=0, Color=#ff0000</desc> <number>1</number> <trkseg> ... (Topo menu colors are stored in the file as web-style hex RGB) Red=#ff0000, Yellow=#ffff00, Green=#008000, Blue=#000080, Purple=#800080, Black=#000000, White=#ffffff (Topo solid line widths: Hairline=1, Thin=2, Medium=3, Thick=4) (Topo dashed line widths: Hairline=1, Thin=2) SRE's tpo.c mod stuffs Style/Width/Dashed/Color fields into "desc" field under the assumption that something will post-process GPX or KML output and move information from desc to private extensions (solid lines have "Dashed=0", can have width of 1=hairline to 4=thick) (dashed lines have "Dashed=1", can only have width of 1=hairline or 2=thin) </desc>
</wpt>
<wpt lat="37.522691488" lon="-122.288962007">
<name>NOTE 3</name>
<wpt lat="45.991673928" lon="11.746357624">
<ele>509.400000</ele>
<name>F18051</name>
- <cmt>ARSIE'</cmt>
- <desc>ARSIE'</desc>
+ <cmt>ARSIE'</cmt>
+ <desc>ARSIE'</desc>
<sym>Waypoint</sym>
</wpt>
<wpt lat="46.018978905" lon="11.911089765">
<bounds minlat="43.604690000" minlon="1.444570000" maxlat="43.926910000" maxlon="2.146210000"/>
<rte>
<name>step001</name>
- <desc>Head south on Rue du Palais toward Rue de l'Ort en Salvy</desc>
+ <desc>Head south on Rue du Palais toward Rue de l'Ort en Salvy</desc>
<rtept lat="43.926910000" lon="2.146200000">
<name>RPT001</name>
</rtept>
</rte>
<rte>
<name>step015</name>
- <desc>Turn right onto Route d'Agde/D112Go through 2 roundabouts</desc>
+ <desc>Turn right onto Route d'Agde/D112Go through 2 roundabouts</desc>
<rtept lat="43.627670000" lon="1.478470000">
<name>RPT1692</name>
</rtept>
</rte>
<rte>
<name>step016</name>
- <desc>Route d'Agde/D112 turns slightly right and becomes Av. Yves BrunaudGo through 1 roundabout</desc>
+ <desc>Route d'Agde/D112 turns slightly right and becomes Av. Yves BrunaudGo through 1 roundabout</desc>
<rtept lat="43.619580000" lon="1.468810000">
<name>RPT1821</name>
</rtept>
<ele>1272.900000</ele>
<time>2005-06-18T08:53:36Z</time>
<name>1</name>
- <cmt>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</cmt>
- <desc>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</desc>
+ <cmt>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</cmt>
+ <desc>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</desc>
<url>file://C:/Mesdoc/Mes%20images/pic%20midi/DSCF0446.JPG</url>
</wpt>
<wpt lat="47.559400000" lon="2.713550000">
<ele>1272.900000</ele>
<time>2005-06-18T08:53:36Z</time>
<name>1</name>
- <desc>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</desc>
+ <desc>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</desc>
</rtept>
<rtept lat="47.559400000" lon="2.713550000">
<ele>1525.300000</ele>
<ele>1272.900000</ele>
<time>2005-06-18T08:53:36Z</time>
<name>1</name>
- <desc>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</desc>
+ <desc>Vue de notre chemin du retour.., mais c'est par la route qu'on monte</desc>
</trkpt>
<trkpt lat="47.565210000" lon="2.713680000">
<ele>1272.900000</ele>
<desc>371 7th Ave\Penn Plz\Fashion Ave, new york, NY 10001, United States</desc>
</wpt>
<wpt lat="-73.975375000" lon="40.758271000">
- <name>St Patrick's Cathedral</name>
- <cmt>NE[1.30 mi] - St Patrick's Cathedral, 460 Madison Ave, New York, NY 10022 (212-7532261)</cmt>
- <desc>NE[1.30 mi] - St Patrick's Cathedral, 460 Madison Ave, New York, NY 10022 (212-7532261)</desc>
+ <name>St Patrick's Cathedral</name>
+ <cmt>NE[1.30 mi] - St Patrick's Cathedral, 460 Madison Ave, New York, NY 10022 (212-7532261)</cmt>
+ <desc>NE[1.30 mi] - St Patrick's Cathedral, 460 Madison Ave, New York, NY 10022 (212-7532261)</desc>
</wpt>
<wpt lat="-73.975375000" lon="40.758271000">
- <name>St Patrick's Cathedral</name>
+ <name>St Patrick's Cathedral</name>
<cmt>460 Madison Ave, New York, NY 10022, 212-7532261</cmt>
<desc>460 Madison Ave, New York, NY 10022, 212-7532261</desc>
</wpt>
</wpt>
<wpt lat="50.706969984" lon="7.145749982">
<name>Rheinkultur</name>
- <cmt>Line Up: A + E aka Masta Ace + Edo G, Baddies, Black President, Black Stone Cherry, Boppin B, Bubonix, Culcha Candela, Get Well Soon, In December, Montreal, No Use For A Name, Olli Schulz, Paramount Styles, Pete Philly + Perquisite, She's All That, Talion aka Snaga + Fard, The Casting Out, Tone, Virginia Jetzt! Datum: 04.07.2009.</cmt>
- <desc>Line Up: A + E aka Masta Ace + Edo G, Baddies, Black President, Black Stone Cherry, Boppin B, Bubonix, Culcha Candela, Get Well Soon, In December, Montreal, No Use For A Name, Olli Schulz, Paramount Styles, Pete Philly + Perquisite, She's All That, Talion aka Snaga + Fard, The Casting Out, Tone, Virginia Jetzt! Datum: 04.07.2009.</desc>
+ <cmt>Line Up: A + E aka Masta Ace + Edo G, Baddies, Black President, Black Stone Cherry, Boppin B, Bubonix, Culcha Candela, Get Well Soon, In December, Montreal, No Use For A Name, Olli Schulz, Paramount Styles, Pete Philly + Perquisite, She's All That, Talion aka Snaga + Fard, The Casting Out, Tone, Virginia Jetzt! Datum: 04.07.2009.</cmt>
+ <desc>Line Up: A + E aka Masta Ace + Edo G, Baddies, Black President, Black Stone Cherry, Boppin B, Bubonix, Culcha Candela, Get Well Soon, In December, Montreal, No Use For A Name, Olli Schulz, Paramount Styles, Pete Philly + Perquisite, She's All That, Talion aka Snaga + Fard, The Casting Out, Tone, Virginia Jetzt! Datum: 04.07.2009.</desc>
<link href="www.rheinkultur.com">
<text>www.rheinkultur.com</text>
</link>
</wpt>
<wpt lat="54.402619991" lon="11.161179990">
<name>Fehmarn Open Air</name>
- <cmt>Das Fehrman Open Air Festival ist für seine friedliche und familiäre Atmosphäre weit über die Grenzen Deutschlands hinaus bekannt. Programm: Bradley's Circus, Chris Farlowe, Cosmic Finger, Errorhead, Großenbroder Shanty Chor, Hamburg Blues Band, Jimmy Cornett, Joanne Shaw Taylor, Peer Knacke, Purple, Rohstoff, Ten Years After. Datum: 05.09.2009, Beginn: 11:00 Uhr.</cmt>
- <desc>Das Fehrman Open Air Festival ist für seine friedliche und familiäre Atmosphäre weit über die Grenzen Deutschlands hinaus bekannt. Programm: Bradley's Circus, Chris Farlowe, Cosmic Finger, Errorhead, Großenbroder Shanty Chor, Hamburg Blues Band, Jimmy Cornett, Joanne Shaw Taylor, Peer Knacke, Purple, Rohstoff, Ten Years After. Datum: 05.09.2009, Beginn: 11:00 Uhr.</desc>
+ <cmt>Das Fehrman Open Air Festival ist für seine friedliche und familiäre Atmosphäre weit über die Grenzen Deutschlands hinaus bekannt. Programm: Bradley's Circus, Chris Farlowe, Cosmic Finger, Errorhead, Großenbroder Shanty Chor, Hamburg Blues Band, Jimmy Cornett, Joanne Shaw Taylor, Peer Knacke, Purple, Rohstoff, Ten Years After. Datum: 05.09.2009, Beginn: 11:00 Uhr.</cmt>
+ <desc>Das Fehrman Open Air Festival ist für seine friedliche und familiäre Atmosphäre weit über die Grenzen Deutschlands hinaus bekannt. Programm: Bradley's Circus, Chris Farlowe, Cosmic Finger, Errorhead, Großenbroder Shanty Chor, Hamburg Blues Band, Jimmy Cornett, Joanne Shaw Taylor, Peer Knacke, Purple, Rohstoff, Ten Years After. Datum: 05.09.2009, Beginn: 11:00 Uhr.</desc>
<link href="www.fehmarnfestivalgroup.com">
<text>www.fehmarnfestivalgroup.com</text>
</link>
</wpt>
<wpt lat="36.087770000" lon="-86.809730000">
<name>GC309F</name>
- <cmt>Shy's Hill by FireFighterEng33</cmt>
- <desc>Shy's Hill by FireFighterEng33</desc>
+ <cmt>Shy's Hill by FireFighterEng33</cmt>
+ <desc>Shy's Hill by FireFighterEng33</desc>
</wpt>
<wpt lat="36.057500000" lon="-86.892000000">
<name>GC317A</name>